﻿<!DOCTYPE HTML>
<html xmlns:wb="http://open.weibo.com/wb">
<head>

    <script type="text/javascript" async="" src="~/style/js/conversion.js"></script>
    <script src="~/style/js/allmobilize.min.js" charset="utf-8" id="allmobilize"></script>
    <style type="text/css"></style>
    <meta content="no-siteapp" http-equiv="Cache-Control">
    <link media="handheld" rel="alternate">

    <!-- end 云适配 -->
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <title>开通招聘服务-1024网-最专业的互联网招聘平台</title>
    <meta content="23635710066417756375" property="qc:admins">
    <meta name="description" content="1024网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在1024网">
    <meta name="keywords" content="1024,1024网,1024招聘,拉钩, 拉钩网 ,互联网招聘,1024互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 1024官网, 1024百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招">
    <meta content="QIQ6KC1oZ6" name="baidu-site-verification">

    <!-- <div class="web_root"  style="display:none">h</div> -->
    <script type="text/javascript">
        var ctx = "h";
        console.log(1);</script>
    <link href="~/h/images/favicon.ico" rel="Shortcut Icon">
    <link href="~/style/css/style.css" type="text/css" rel="stylesheet">
    <link href="~/style/css/external.min.css" type="text/css" rel="stylesheet">
    <link href="~/style/css/popup.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="~/style/js/jquery.1.10.1.min.js"></script>
    <script src="~/style/js/jquery.lib.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="~/style/js/ajaxfileupload.js"></script>
    <script src="~/style/js/additional-methods.js" type="text/javascript"></script>
    <!--[if lte IE 8]>
        <script type="text/javascript" src="~/style/js/excanvas.js"></script>
    <![endif]-->
    <script type="text/javascript">var youdao_conv_id = 271546;</script>
    <script src="~/style/js/conv.js" type="text/javascript"></script>
    <script src="~/style/js/ajaxCross.json" charset="UTF-8"></script>
</head>
<body>
    <div id="body">
        <div id="header">
            <div class="wrapper">
                <a class="logo" href="h/">
                    <img width="229" height="43" alt="1024招聘-专注互联网招聘" src="~/style/images/logo.png">
                </a>
                <ul class="loginTop">
                    <li><a href="/Login/Login" rel="nofollow">登录</a></li>
                    <li>|</li>
                    <li><a href="/Login/Register" rel="nofollow">注册</a></li>
                </ul>
            </div>
        </div><!-- end #header -->
        <div id="container">
            <style>
                .ui-autocomplete {
                    max-height: 160px;
                    overflow-y: scroll;
                }
            </style>
            <div class="content_mid">
                <!--form-->
                <dl class="c_section c_section_service">
                    <dt>
                        <h2><em></em>开通招聘服务</h2>
                    </dt>
                    <dd>

                        <div class="os_step_2"></div>
                        <form class="corp_form" id="companyNameForm">
                            <input type="hidden" value="3a9b3124ee0a4adca922f2c9756d1ac1" id="resubmitToken">
                            <h3><em class="redstar">*</em>公司全称  <span class="explain">（请输入与公司营业执照一致的公司全称，审核通过后不可更改）</span></h3>
                            <span role="status" aria-live="polite" class="ui-helper-hidden-accessible">测试公司</span><input type="text" value="" placeholder="请输入与公司营业执照一致的公司全称" name="companyName" id="companyName" class="valid ui-autocomplete-input IsExistCompany" autocomplete="off">
                            <input type="submit" value="提 交" id="bindSubmit">
                            <a class="goback" href="/Company/Bindstep1?update=1">返回修改邮箱地址</a>
                        </form>
                        <div class="contactus">如有问题，请致电：010-57286997或写信给：<a href="mailto:vivi@lagou.com">vivi@lagou.com</a>，我们会尽快为你解决。</div>
                    </dd>
                </dl>
            </div>
            <div class="dn" id="loadingDiv" style="display: none;"><img width="32" height="32" src="~/style/images/ajax-loader.gif"></div>

            <div class="clear"></div>
            <input type="hidden" value="3a9b3124ee0a4adca922f2c9756d1ac1" id="resubmitToken">
            <a rel="nofollow" title="回到顶部" id="backtop"></a>
        </div><!-- end #container -->
    </div><!-- end #body -->
    <div id="footer">
        <div class="wrapper">
            <a rel="nofollow" target="_blank" href="/Home/About">联系我们</a>
            <a target="_blank" href="h/af/zhaopin.html">互联网公司导航</a>
            <a rel="nofollow" target="_blank" href="http://e.weibo.com/lagou720">1024招聘微博</a>
            <a rel="nofollow" href="javascript:void(0)" class="footer_qr">1024招聘微信<i></i></a>
            <div class="copyright">&copy;2013-2014  1024<a href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action" target="_blank">京ICP备14023790号-2</a></div>
        </div>
    </div>

    <script src="~/style/js/core.min.js" type="text/javascript"></script>
    <script src="~/style/js/popup.min.js" type="text/javascript"></script>

    <!--  -->

    <script type="text/javascript">
        jQuery.validator.addMethod("IsExistCompany", function (value, element) {
            var length = value.length;
            var isExist = IsExistCompany();
            console.info(isExist);
            return true;//this.optional(element) || isExist;
        }, "该公司不存在,请输入正确的公司名");

        function IsExistCompany() {
            var flag = false;
            $.ajax({
                //企查查接口
                //url: "https://way.jd.com/QZZM/GetOrganizationInfoByCompanyName?companyName="+$("#companyName").val()+"&appkey=d45725abf5606e58b9c9f907c0e52c9c",
                //天眼查接口
                url: "https://open.api.tianyancha.com/services/open/ic/baseinfo/2.0?name=" + $("#companyName").val(),
                type: "GET",
                dataType: "json",
                async: false,
                cache: false,
                headers: {
                    Accept: "Authorization"
                },
                beforeSend: function (request) {
                    request.setRequestHeader("token1", "21f00c94-c387-4a8e-851c-2b5ab83116b0");
                },
                success: function (data) {

                    if (data.error_code != 0) {
                        flag = false;
                    } else {
                        flag = true;
                    }
                },
            });
            return flag;
        }

        //验证表单
        $("#companyNameForm").validate({
            debug: true,
            rules: {
                companyName: {
                    required: true,
                    specialchar: !0,
                    checkNum: !0,
                    maxlenStr: 100
                }
            },
            messages: {
                companyName: {
                    required: "请输入与公司营业执照一致的公司名称",
                    specialchar: "请输入有效的公司全称",
                    checkNum: "请输入有效的公司全称",
                    maxlenStr: "请输入100字以内的公司全称"

                }
            },
            errorPlacement: function (label, element) {
                label.insertAfter(element);
            },
            submitHandler: function (form) {
                location.href = "Bindstep3?companyName=" + $("#companyName").val();
            }
        })

    </script>


    <div id="cboxOverlay" style="display: none;"></div><div id="colorbox" class="" role="dialog" tabindex="-1" style="display: none;"><div id="cboxWrapper"><div><div id="cboxTopLeft" style="float: left;"></div><div id="cboxTopCenter" style="float: left;"></div><div id="cboxTopRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxMiddleLeft" style="float: left;"></div><div id="cboxContent" style="float: left;"><div id="cboxTitle" style="float: left;"></div><div id="cboxCurrent" style="float: left;"></div><button type="button" id="cboxPrevious"></button><button type="button" id="cboxNext"></button><button id="cboxSlideshow"></button><div id="cboxLoadingOverlay" style="float: left;"></div><div id="cboxLoadingGraphic" style="float: left;"></div></div><div id="cboxMiddleRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxBottomLeft" style="float: left;"></div><div id="cboxBottomCenter" style="float: left;"></div><div id="cboxBottomRight" style="float: left;"></div></div></div><div style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div></div><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content ui-corner-all" id="ui-id-1" tabindex="0" style="display: none; top: 356px; left: 377.5px; width: 590px;"><li class="ui-menu-item" role="presentation"><a id="ui-id-3" class="ui-corner-all" tabindex="-1">创建名为"测试公司"的新公司</a></li></ul>
</body>
</html>